<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>无权访问页面</title>
</head>
<body>
<div>
    <h2>
        <b>
            无权访问此页面，请联系系统管理员！
        </b>
    </h2>
</div>
<div>
    <a id="btn_close" href="#">关闭</a>
</div>
<script type="text/javascript">
    let ele = document.getElementById('btn_close');
    ele.onclick = function () {
        if (self != top) {
            window.parent.closeTab();
        }
    }
</script>
</body>
</html>